package com.xzg.mission.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.xzg.user.entity.User;

import java.util.Date;
import java.util.List;

public class Mission {
    private Long missionId;

    private String missionName;

    private String publisher;

    private Long publisherId;

    private Integer award;

    @JSONField(format="yyyy-MM-dd")
    private Date startDate;

    @JSONField(format="yyyy-MM-dd")
    private Date endDate;

    private Byte status;

    private Date missionDate;

    private String content;

    private int deduct;

    private String department;

    private String job;

    private User headImg;

    private int manNum;

    private byte taskStatus;

    private Long categoryId;

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    private List<User> listUsername;

    public Long getMissionId() {
        return missionId;
    }

    public void setMissionId(Long missionId) {
        this.missionId = missionId;
    }

    public String getMissionName() {
        return missionName;
    }

    public void setMissionName(String missionName) {
        this.missionName = missionName;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public Long getPublisherId() {
        return publisherId;
    }

    public void setPublisherId(Long publisherId) {
        this.publisherId = publisherId;
    }

    public Integer getAward() {
        return award;
    }

    public void setAward(Integer award) {
        this.award = award;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Date getMissionDate() {
        return missionDate;
    }

    public void setMissionDate(Date missionDate) {
        this.missionDate = missionDate;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getDeduct() {
        return deduct;
    }

    public void setDeduct(int deduct) {
        this.deduct = deduct;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public User getHeadImg() {
        return headImg;
    }

    public void setHeadImg(User headImg) {
        this.headImg = headImg;
    }

    public int getManNum() {
        return manNum;
    }

    public void setManNum(int manNum) {
        this.manNum = manNum;
    }

    public byte getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(byte taskStatus) {
        this.taskStatus = taskStatus;
    }

    public List<User> getListUsername() {
        return listUsername;
    }

    public void setListUsername(List<User> listUsername) {
        this.listUsername = listUsername;
    }
}